package cn.stacey.blog.mapper;

import java.sql.SQLException;
import java.util.List;

import cn.stacey.blog.domain.Category;

public interface CategoryMapper {
	List<Category> findAll();
	void insert(Category category);
	void update(Category category);
	
	void delete(int id) throws SQLException;
	Category findById(int id);
}
